Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Escape character

Hi,

The backslash character is an escape character in SSJS. If you need a backslash character in a string, you'll have to escape it. Try to use

"prod\\diary.nsf"

Since the target database seems to be on the same server as the one containing your XPage, you can use an empty string as the first parameter of the getDatabase call:

var whichDb:NotesDatabase = session.getDatabase("", "prod\\diary.nsf");

Mark


Feedback response number WEBB8B8EZ4 created by ~Tip Kinizennivu on 11/15/2010

Xpage getDatabase - doesn't get the... (~Naomi Bubkrove... 15.Nov.10)
. . Escape character (~Tip Kinizenniv... 15.Nov.10)
. . . . That was it! (~Naomi Bubkrove... 17.Nov.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS